package com.java.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.java.pojo.Category;
import com.java.pojo.vo.CategoryVO;
import com.java.pojo.vo.NewItemsVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 商品分类 
 * 
 * @author jl
 * @since 2020-10-13 11:31:41
 */
@Mapper
public interface CategoryDao extends BaseMapper<Category> {

    List<CategoryVO> getSubCatList(Integer catId);

    List<NewItemsVO> getSixNewItemLazy(Integer rootCatId);
	
}
